package com.wenda.homeschooedu.biz;

import com.wenda.homeschooedu.dao.IReturnBasicInform;
import com.wenda.homeschooedu.dao.IUserLogin;
import com.wenda.homeschooedu.daoimpl.ReturnBasicInformService;
import com.wenda.homeschooedu.daoimpl.UserLoginService;
import com.wenda.homeschooedu.model.ParentBasicInform;

public class LoginManager {
	IUserLogin loginService ;
	IReturnBasicInform returnBasicInformService ;
	
	public LoginManager() {
		loginService = new UserLoginService();
		returnBasicInformService = new ReturnBasicInformService();
	}
	
	public ParentBasicInform firstTimeLogin(String username , String password){
		return returnBasicInformService.returnBasicInform(username, password);
	}
	
	public boolean normalLogin(String username , String password){
		return loginService.Login(username, password);
	}
	
	
}
